CrossOver engine (copied) + portable, no-install bundle - #12
Open
etedgy wants to merge 3 commits into
Open
Conversation
Re-adds the .crossover engine kind (dropped in the de-brand commits) but as a one-time copy into Engines/crossover instead of a live reference, so it runs off GamePorter's own copy and never touches /Applications/CrossOver.app at runtime. - detectCrossOver() now points every path (loader, server, DLL path, CX_ROOT, apple_gptk libd3dshared) at the copied tree under Engines/crossover. - importCrossOver() clones the installed CrossOver via FileManager.copyItem (APFS clonefile; source is only read, never modified). - Engines panel gains an "Import from your installed CrossOver" action, shown only while CrossOver is installed and not yet copied. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Lets the app + engines + bottles live on a USB/SSD and run with no install. - AppPaths.root uses a sibling "GamePorterData" folder next to the app bundle (or $GAMEPORTER_DATA) when present, else the usual Application Support path. - WineRunner resolves a pin's absolute exe/workingDir against the current bottle's drive_c at launch, so bottles stay portable across machines/users. - ContentView auto-selects the first bottle so it's visible immediately instead of the empty "No bottle selected" pane. - Silence an unused try? result in disableCrashDebugger. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
AppPaths.root also looks for GamePorterData inside the app bundle (Contents/Resources/GamePorterData), before the sibling-folder and Application Support locations — so a single .app can carry the porter, engines and bottles and run with nothing beside it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Two related changes that make GamePorter run games from a self-contained, movable bundle.
1. Restore CrossOver as a copied engine
The de-brand commits dropped the
.crossoverengine. This brings it back, but as a one-time copy intoEngines/crossoverrather than a live reference to/Applications/CrossOver.app:detectCrossOver()drives the copied loader; every env path points into the copy.importCrossOver()clones the installed CrossOver withFileManager.copyItem(APFS clonefile — source is only read, never modified).2. Portable, no-install operation
AppPaths.rootuses a siblingGamePorterDatafolder next to the app bundle (or$GAMEPORTER_DATA) when present — so the app + engines + bottles run straight from a USB/SSD with no install.WineRunnerresolves a pin's absolute exe/workingDir against the current bottle'sdrive_cat launch, so bottles stay portable across machines and usernames.ContentViewauto-selects the first bottle (no more empty "No bottle selected" on launch).try?warning.Testing
GamePorterData(confirmed vialsof).Personal-use project.
🤖 Generated with Claude Code